package cn.wolfcode.service;

import cn.wolfcode.domain.Choice;
import cn.wolfcode.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IChoiceService {
    void save(Choice choice);
    void delete(Long id);
    void update(Choice choice);
    Choice get(Long id);
    List<Choice> listAll();
    // 分页查询的方法
    PageInfo<Choice> query(QueryObject qo);
}
